<!-- 推荐药品 -->
<template>
	<view class="container">
		<view class="list">
			<view class="list-item" v-for="value in 5" :key="value">
				<view class="pic-box">
					<image class="pic" src="/pagesC-my/static/images/will-delete/1.png" mode="aspectFill"></image>
				</view>
				<view class="content border-bottom-1px">
					<text class="title">杀虫刹</text>
					<text class="shop">附近站点 <text class="iconfont">&#xe61a;</text></text>
				</view>
			</view>
		</view>
	</view>
</template>

<script setup>

</script>

<style lang="scss" scoped>
	.container {
		padding: 0 25rpx 30rpx;
	}

	.list {
		background-color: white;
		border-radius: 20rpx;
		overflow: hidden;
		
		&-item {
			display: flex;
			height: 140rpx;
			
			&:active {
				background-color: #fafafa;
			}
			
			.pic-box {
				flex-shrink: 0;
				width: 140rpx;
				height: 140rpx;
				padding: 20rpx;
				box-sizing: border-box;
				
				.pic {
					width: 100%;
					height: 100%;
					border-radius: 10rpx;
				}
			}
			
			.content {
				flex-grow: 1;
				display: flex;
				flex-direction: column;
				justify-content: space-between;
				height: 140rpx;
				padding: 20rpx 0 30rpx;
				box-sizing: border-box;
				margin-left: 10rpx;
				
				.title {
					font-weight: bold;
					font-size: 28rpx;
					color: #222;
				}
				
				.shop {
					font-size: 24rpx;
					color: #222;
					
					.iconfont {
						font-size: 20rpx;
					}
				}
			}
			
			&:last-child {
				.content::after {
					display: none;
				}
			}
		}
	}
</style>